<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        $score=100;
   $xl="<img src='images/haha.gif' height=100px width=100px />";
   $kl="<img src='images/cry.jpg' height=100px width=100px />";
   $sc=(int)($score/10);
   switch ($sc) {
   	case 10:
   		echo "{$xl}{$xl}{$xl}{$xl}{$xl}";
   		break;
   	case 9:
   		echo "{$xl}{$xl}{$xl}{$xl}";
   		break;
   	case 8:
   		echo "{$xl}{$xl}{$xl}";
   		break;
   	case 7:
   		echo "{$xl}{$xl}";
   		break;
   	case 6:
   		echo "{$xl}";
   		break;
   	default:
   		echo "{$kl}";
   		break;
   }

        ?>
    </body>
</html>
